package com.kkk.shop.user.pojo;

import java.util.Date;

import com.kkk.shop.goods.pojo.AGoods;

/**
 * 用户购物车的pojo
 * @author kkk
 * */
public class AUsersCar
{
	private int id;
	private int usersId;
	private int goodsId;
	private double price;
	private int num;
	private byte status;
	private Date createTime;
	private Date updateTime;
	private Date pubTime;
	
	/* 关联关系 */
	private AGoods goods ; 
	
	public AGoods getGoods()
	{
		return goods;
	}
	public void setGoods(AGoods goods)
	{
		this.goods = goods;
	}
	public int getId()
	{
		return id;
	}
	public void setId(int id)
	{
		this.id = id;
	}
	public int getUsersId()
	{
		return usersId;
	}
	public void setUsersId(int usersId)
	{
		this.usersId = usersId;
	}
	public int getGoodsId()
	{
		return goodsId;
	}
	public void setGoodsId(int goodsId)
	{
		this.goodsId = goodsId;
	}
	public double getPrice()
	{
		return price;
	}
	public void setPrice(double price)
	{
		this.price = price;
	}
	public int getNum()
	{
		return num;
	}
	public void setNum(int num)
	{
		this.num = num;
	}
	public byte getStatus()
	{
		return status;
	}
	public void setStatus(byte status)
	{
		this.status = status;
	}
	public Date getCreateTime()
	{
		return createTime;
	}
	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}
	public Date getUpdateTime()
	{
		return updateTime;
	}
	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}
	public Date getPubTime()
	{
		return pubTime;
	}
	public void setPubTime(Date pubTime)
	{
		this.pubTime = pubTime;
	}
}
